// 头部配置选项
export interface HeaderOptions {
  title?: string
  subtitle?: string
  showBack?: boolean
  showActions?: boolean
  actions?: Array<{
    label: string
    type?: 'primary' | 'success' | 'warning' | 'danger' | 'info'
    icon?: string
    disabled?: boolean
    loading?: boolean
  }>
}

// 头部事件
export interface HeaderEvents {
  back: () => void
  'action-click': (action: HeaderOptions['actions'][0]) => void
}
